class TaskModel{
  String updateTime;
  String jsonTxt;

  TaskModel({this.updateTime, this.jsonTxt});

  factory TaskModel.fromJson(Map<String,dynamic> json){
    return TaskModel(
        updateTime: json['updateTime'] as String,
        jsonTxt: json['jsonTxt'] as String
    );
  }

  static Map<String, dynamic> toJson(TaskModel instance){
    return<String, dynamic>{
      'updateTime':instance.updateTime,
      'jsonTxt':instance.jsonTxt
    };
  }
}